#include "StdAfx.h"
#include "Shape.h"

CShape::CShape(void)
{
}

CShape::~CShape(void)
{
}

void CShape::SetP(int x, int y){
	p.x = x; p.y = y;
}

//CBitmap
void CShape::SetGocXY(int x, int y){
	GocXY.x = x; GocXY.y = y;
}

void CShape::SetKichThuocWH(int nWidth, int nHeight){
	KichThuocWH.x = nWidth; KichThuocWH.y = nHeight;
}

void CShape::SetPSrcDC(CDC *_pSrcDC){
	pSrcDC = _pSrcDC;
}

void CShape::SetGocSrc(int xSrc, int ySrc){
	GocSrc.x = xSrc; GocSrc.y = ySrc;
}

void CShape::SetKichThuocSrcWH(int nSrcWidth, int nSrcHeight){
	KichThuocSrcWH.x = nSrcWidth; KichThuocSrcWH.y = nSrcHeight;
}

void CShape::SetDword(DWORD _dwRop){
	dwRop = _dwRop;
}

//AngleArc
void CShape::SetTam(int x, int y)
{
	Tam.x=x; Tam.y=y;
}

void CShape::SetBanKinh(int r)
{
	BanKinh=r;
}
